package com.zhouhailin.shirospringbootdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author zhouhailin
 * @date 2023/1/6 17:02
 */
@Controller
public class IndexController {

    @RequestMapping("/index")
    public String index() {
        System.out.println("跳转至主页！");
        return "index";
    }
}
